home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / AMOS / AMOSList0597 / AMOSLIST / text0167.txt < prev    next >
Encoding:
Text File  |  1997-06-01  |  1.9 KB  |  51 lines

  1. I'm having a problem with Bobs, and if anyone is not too wrapped up 
  2. in AGA extension or list games then I'd appreciate any help please.
  3.  
  4. I've often had a problem with using 
  5. Bob Off N
  6. and then shortly after redefining the Bob
  7. Bob N,X,Y,I
  8.  
  9. If some unknown amount of time has not passed between the two 
  10. commands, then the Bob doesn't get displayed when I call
  11.  
  12. Bob Clear
  13. Bob Draw
  14. Screen Swap
  15. Wait Vbl
  16.  
  17. (or similar)
  18. Now this causes bobs to flash on and off at times which looks pretty 
  19. awful.
  20. I've tried several solutions.
  21. Instead of Bob Off N, I used Bob N,-100,-100,I. I can't use this 
  22. because of my scrolling system which will get corrupted. (Not my 
  23. programs fault! It's to do with AMOS not replacing the background to 
  24. Bobs correctly when they are moved)
  25. I've also tried Bob Off N and then immediately redefining the Bob off 
  26. screen in the hope that when I redefine it again on screen, it'll 
  27. draw OK. But it doesn't.
  28. I've tried other things as well which I can't recall.
  29.  
  30. Basically the whole problem came about because I put a split screen 
  31. two player mode in my game and AMOS doesn't allow the same bobs on 
  32. different screens so I had to do all sorts of changes ..... but thats 
  33. another LONG story.
  34.  
  35. Thanks,
  36. -Murray
  37.  
  38.  
  39.            \\|//     Alastair Murray
  40.            (o o)       pmymagm@pmn1.maths.nott.ac.uk
  41. |~~~~~~oOOo~(_)~oOOo~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  42. |         AMINET         |Web-Page (Amiga/Games/AMOS/trek/Music/    |
  43. |     game/role/CHAOS    |                  +more)                  |
  44. |game/jump/Banana Islands|     http://www.cs.nott.ac.uk/~agm/       |
  45. |   game/shoot/Hanger18  |Current Projects: >Chaos 2                |
  46. |    dev/amos/keystate   | >Kill Em All     >Hanger 18 II           |
  47. |    dev/amos/picpack    | >Skool Daze      >The Crow               |
  48. |                        | >Game Creator    >Banana Islands         |
  49. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50.  
  51.